package zoran.wang;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import zoran.wang.entity.Person;

/**
 * description：
 *
 * @author wangzhuo
 * @date 2022/3/19 17:50
 * @Email zoranwang@yeah.net
 */
@ContextConfiguration(locations = "/applicationContext.xml")
@RunWith(SpringJUnit4ClassRunner.class)
public class SpringJunitTest {

    @Autowired
    private Person person;

    @Test
    public void test01() {
        System.out.println("获取到了 === " + person);
    }

}
